package com.daka.dao1;

import com.daka.entity.WelfareOrder;
import com.daka.mybatis.SQLMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "welfareOrderDao")
@SQLMapper
public interface WelfareOrderDao {
    int deleteByPrimaryKey(Integer id);

    int insert(WelfareOrder record);

    int insertSelective(WelfareOrder record);

    WelfareOrder selectByPrimaryKey(Integer id);

    List<WelfareOrder> selectAll();

    List<WelfareOrder> selectByIdBetween(@Param("max") Integer max,@Param("min") Integer min);

    List<WelfareOrder> selectByStatement(WelfareOrder record);

    int selectByStatementCount(WelfareOrder record);

    int updateByPrimaryKeySelective(WelfareOrder record);
}